home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 58
/
MINAMI58.ISO
/
Varios
/
Juegos Flash
/
Gold Yard.exe
/
scripts
/
frame_8
/
DoAction.as
Wrap
Text File
|
2003-04-29
|
2KB
|
69 lines
function infomessage(text)
{
setProperty(_root.infobox, _alpha, 100);
_root.infobox.infomessage = text;
_root.infobox.gotoAndPlay("play");
}
function musicoff()
{
_root.slotfx.gotoAndPlay("on");
_root.soundtrack_movie.music = 0;
_root.soundtrack_movie.gotoAndStop("off");
_root.infomessage("Music : OFF");
_root.mainmenu.musicswitch.gotoAndStop("off");
_root.musicswitch.gotoAndStop("off");
}
function musicon()
{
_root.slotfx.gotoAndPlay("on");
_root.soundtrack_movie.music = 1;
_root.soundtrack_movie.gotoAndStop("on");
_root.infomessage("Music : ON");
_root.mainmenu.musicswitch.gotoAndStop("on");
_root.musicswitch.gotoAndStop("on");
}
function graphic_quality(quality)
{
_root.slotfx.gotoAndPlay("on");
_quality = quality;
_root.infomessage("Graphics : " + quality + " Quality");
_root.resolution.gotoAndStop(quality);
}
function difficulty_level_function(level)
{
_root.menuover = "";
_root.difficulty_level = level;
_root.firsttime = 1;
_root.library.gotoAndStop("game_ini");
_root.gotoAndStop("room1");
}
function restore_health()
{
_root.menu_over = "";
_root.energy.energy = 100;
_root.energy.gotoAndStop(1);
}
function restart()
{
var i = 0;
while(i < 20)
{
_root["droid" + i].gotoAndStop("left");
i++;
}
_root.library.direction = "left";
_root.firsttime = 0;
_root.mainmenu.gotoAndStop("main");
_root.gotoAndStop("startgame");
}
function back(frame_label)
{
_root.errorfx.gotoAndPlay("on");
_root.menuover = "";
_root.mainmenu.gotoAndStop(frame_label);
}
a;
"c" < (b >= undefined) || 1();
firsttime = 0;
stop();